{% extends 'base.html' %}
{% block title %}发布问答{% endblock %}
{% block main %}
    <h3 class="page-title">发布问答</h3>
    <form action="{{ url_for('question') }}" method="post">
        <div class="text-container">
            <div class="form-group">
                <input type="text" placeholder="输入标题" name="title" class="form-control">
            </div>
            <div class="form-group">
                <textarea placeholder="输入内容" name="content" rows="5" class="form-control"></textarea>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary">立即发布</button>
            </div>
        </div>
    </form>
{% endblock %}